package ira.src;

public class finance_calculator {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//
		BankAccount john = new BankAccount();
		//Starting principal
		john.addPrincipal(5000);
		//Annualized Gain (decimal percentage)
		john.addInterest(0.12);
		//Yearly Contribution (years, amount)
		john.addContribution(30, 0);
		System.out.println(john.printBalance());
	}
}